package com.itheima.pojo;

import java.io.Serializable;

public class Exercise implements Serializable {
    private Integer id;
    private String name;
    private String runtime;
    private String ecount;
    private String kmCon;
    private String result;


    public Exercise() {
    }

    public Exercise(Integer id,String name, String runtime, String ecount, String kmCon) {
        this.id = id;
        this.name = name;
        this.runtime = runtime;
        this.ecount = ecount;
        this.kmCon = kmCon;

    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRuntime() {
        return runtime;
    }

    public void setRuntime(String runtime) {
        this.runtime = runtime;
    }

    public String getEcount() {
        return ecount;
    }

    public void setEcount(String ecount) {
        this.ecount = ecount;
    }

    public String getKmCon() {
        return kmCon;
    }

    public void setKmCon(String kmCon) {
        this.kmCon = kmCon;
    }



    @Override
    public String toString() {
        return "Exercise{" +
                "id=" + id +
                ", runtime='" + runtime + '\'' +
                ", ecount='" + ecount + '\'' +
                ", kmCon='" + kmCon + '\'' +

                '}';
    }
}
